cmake_minimum_required(VERSION 3.0.0)
project(cmake_study)

set(LIBPATH ${PROJECT_SOURCE_DIR}/lib)
set(EXECPATH ${PROJECT_SOURCE_DIR}/bin)
set(INCLUDEPATH ${PROJECT_SOURCE_DIR}/include)
aux_source_directory(${PROJECT_SOURCE_DIR}/cal_src CALSRC)
aux_source_directory(${PROJECT_SOURCE_DIR}/sort_src SORTSRC)

#如果这里调换顺序呢？
add_subdirectory(cal_src)
add_subdirectory(sort_src)
add_subdirectory(test2)